package com.kuzlak.cms.module.sys.bean;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Schema(description = "字典值")
@Data
public class DictValueVO {

    @Schema(description = "编号")
    private long id;

    @Schema(description = "字典编号")
    @NotNull( message = "字典编号不能为空")
    @NotEmpty( message = "字典编号不能为空")
    private long dictId;

    @Schema(description = "名称")
    @NotEmpty( message = "名称不能为空")
    private String name;

    @Schema(description = "值")
    @NotEmpty( message = "值不能为空")
    private String isValue;

    @Schema(description = "排序")
    private int sort;

    @Schema(description = "状态")
    private int status;

    @Schema(description = "param")

    private String param;

    @Schema(description = "remark")
    private String remark;

}
